package com.mhys.mapper;

import com.mhys.model.TAppointment;

import vo.AppointVO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;


public interface TAppointmentMapper {
    int deleteByPrimaryKey(Integer aid);

    int insert(TAppointment row);

    TAppointment selectByPrimaryKey(Integer aid);

    List<TAppointment> selectAll();
    
    List<TAppointment> selectByHName(
    	@Param("hName") String hName	
    );
    
    List<Map<String, Object>> selectACount();
    
    List<AppointVO> selectACountVO();
    
    int updateByPrimaryKey(TAppointment row);
}